WooCommerce\PayPalCommerce\WcGateway\Gateway\CreditCardGateway S

Total Complexity 30
Dependencies 17
Dependents 8
Total lines 417
Lines of code 186
Logical lines of code 70
Comment lines 154
Methods 15
Properties 10

Methods 15

Method Rating Maintainability Complexity Lines of code
__construct()
A
40 8 64
get_icon()
S
55 3 19
card_labels()
S
50 1 39
replace_credit_card_cvv_label()
S
70 3 6
process_refund()
S
67 2 7
get_option()
S
71 2 6
update_option()
S
65 2 9
is_enabled()
S
79 2 3
init_form_fields()
S
70 1 7
form()
S
72 1 5
generate_ppcp_html()
S
70 1 7
is_available()
S
81 1 3
get_transaction_url()
S
75 1 4
init_settings()
S
76 1 4
environment()
S
82 1 3